(function ($) {
    $.fn.Calendar = function(options){
        var config = {changeMonth: true, changeYear: true, dayNamesMin: ["日","一","二","三","四","五","六"],
            monthNamesShort: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],
            yearSuffix: " 年 ", showMonthAfterYear: !0, yearRange: "c-3:c+0", dateFormat: "yy年mm月dd日"};
        $.extend(config, options);
        if(typeof config.onSelect == 'function'){
            config.onSelect = function(){
                var date = $.seaBase.getMoment($(this).datepicker( "getDate" ));
                config.onSelect(date);
            }
        }
        $(this).datepicker(config);
    }
})(jQuery);